package com.jt.www.biz.agree.service;

import com.jt.www.domain.po.AgreePrivacyLogEntity;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Service;

/**
 * @author lq
 * @create 2020-01-07 10:15
 */
@Service
public interface AgreePrivacyLogService {
    /**
     * 增加隐私声明勾选记录
     *
     * @param agreePrivacyLogEntity
     * @return
     */
    Integer saveAgreePrivacyLog(AgreePrivacyLogEntity agreePrivacyLogEntity);


    /**
     * 条件查询隐私声明勾选记录
     *
     * @param userCode
     * @param channelCode
     * @return
     */
    ResponseEntity searchAgreePrivacyLog(String userCode, String channelCode, String protocolType);

    /**
     * 条件查询隐私声明勾选记录
     *
     * @param userCode
     * @param channelCode
     * @return
     */
    int searchAgreePrivacyLogCount(String userCode, String channelCode, String protocolType);
}
